package edu.nyu.hps.architecture;

import java.util.ArrayList;
import java.util.HashMap;

public abstract class Player {
	int x, y, totalMoves;
	int time;
	String name, who;
	boolean ready, caught;

	HashMap<Integer,ArrayList<Point>> pastMoves;

	public Player(){
		pastMoves = new HashMap<Integer, ArrayList<Point>>();
	}
	public abstract boolean validMove(String[] move);

	public boolean isInBoundary(int x, int y) {
		if (x < 0 || y < 0 || x >= 100 || y >= 100) {
			return false;
		}
		if ((x >= 50 && x <= 65) && (y >= 50 && y <= 65)) {
			return false;
		}
		return true;
	}

	public abstract String clientMove(int x, int y);

	public abstract void setOpponentLoc(int x, int y);
	// public abstract String trackMove(String [] input);
}
